package cn.zt.service.impl;

import cn.zt.dao.FileModelDao;
import cn.zt.dao.NavigationDao;
import cn.zt.model.FileModel;
import cn.zt.model.Navigation;
import cn.zt.model.RotaionPicture;
import cn.zt.service.FileModelService;
import cn.zt.service.NavigationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FileModelServiceImpl implements FileModelService {

    @Autowired
    private FileModelDao fileModelDao;
    @Override
    public void saveFile(FileModel fileModel) {
        fileModelDao.saveFile(fileModel);
    }

    @Override
    public List<RotaionPicture> queryRotationPicture() {
        return fileModelDao.queryRotationPicture();
    }
}

